package cc.comac.mom.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName(value = "equip_dev")
@Data
@EqualsAndHashCode(callSuper=true)
public class EquipDevEntity extends BaseResultEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;	
	@TableField(value="dev_id")
	@TableId(value = "dev_id",type=IdType.INPUT)
	private long   id;
	private String devNumber;//设备编号
	private String devName;//设备名称
	private String devRemark;
	private String devModel;//规格型号
	private String devUnit;//计量单位
	private String supplierName;//供应商
	private String propertyType;//资产类别
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date productionDate = null; //入账日期
	
	private String propertyStatus;//资产状态
	private String devStatus;//设备状态
	private String userDepartment;
	
	private String workShop;
	private String location;
	private String maintenanceTeam;//维修组
	private long maintenanceTeamId; // 维修组id
	private String resDepartmentGroup;//使用部门班
	
	private String resDepartmentLeader;//组使用部门领导
	private String resDepartmentPerson;//使用责任人
	private String resDepartmentPersonJobNumber; // 使用负责人工号
	private int assessment;//是否考核
	private String assessmentCycle;//考核周期
	private int resultStatus;//完好状态下拉框（1是、0否）
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date expiryDate = null; //完好有效期
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date inventoryDate = null; //盘点日期
	
	private long devCategoryId;//设备类型ID
	@TableField(value ="ea_0")
	private String ea0;
	@TableField(value ="ea_1")
	private String ea1;
	@TableField(value ="ea_2")
	private String ea2;
	@TableField(value ="ea_3")
	private String ea3;
	@TableField(value ="ea_4")
	private String ea4;

	
}
